<template>
  <div class="wripper">
  <!--导航-->
    <nav class="top">
      <a @click="back()">
        <img class="left" src="../../assets/img/img.../xingzhuang164.png" alt="">
      </a>
      <span class="wenzi">我的足迹</span>
      <span  class="bian" @click="isOpen =! isOpen">
        清空|编辑
      </span>

    </nav>
    <!--日期部分-->
    <h6>2017-07-03</h6>
    <hr>
    <div class="content">
      <img class="img1" src="../../assets/img/img.../tuoyuan1kaobei.png" alt="" v-show="isOpen">
        <img src="../../assets/img/shouye/shouye/hualeichuncai.png" alt="">
    <div class="content_right">
        <span>焕彩萃璨花蕊唇彩4.8g</span>
        <div>
          <img src="../../assets/img/gerzx/待发货.png" alt="">
          <img src="../../assets/img/gerzx/待发货.png" alt="">
          <h5>海外直邮</h5>
        </div>
        <h5>¥166.06</h5>

    </div>
    </div>
    <!--日期-->
    <div class="date">2017-07-03</div>
    <!--下面部分-->
    <div class="content">
      <img class="img1" src="../../assets/img/img.../tuoyuan1kaobei.png" alt="" v-show="isOpen">
      <img src="../../assets/img/shouye/shouye/hualeichuncai.png" alt="">
      <div class="content_right">
        <span>焕彩萃璨花蕊唇彩4.8g</span>
        <div>
          <img src="../../assets/img/gerzx/待发货.png" alt="">
          <img src="../../assets/img/gerzx/待发货.png" alt="">
          <h5>海外直邮</h5>
        </div>
        <h5>¥166.06</h5>
      </div>
    </div>
    <hr>


    <div class="content">
      <img class="img1" src="../../assets/img/img.../tuoyuan1kaobei.png" alt="" v-show="isOpen">
      <img src="../../assets/img/shouye/shouye/hualeichuncai.png" alt="">
      <div class="content_right">
        <span>焕彩萃璨花蕊唇彩4.8g</span>
        <div>
          <img src="../../assets/img/gerzx/待发货.png" alt="">
          <img src="../../assets/img/gerzx/待发货.png" alt="">
          <h5>海外直邮</h5>
        </div>
        <h5>¥166.06</h5>
      </div>
    </div>
    <hr>

    <div class="content">
      <img class="img1" src="../../assets/img/img.../tuoyuan1kaobei.png" alt="" v-show="isOpen">
      <img src="../../assets/img/shouye/shouye/hualeichuncai.png" alt="">
      <div class="content_right">
        <span>焕彩萃璨花蕊唇彩4.8g</span>
        <div>
          <img src="../../assets/img/gerzx/待发货.png" alt="">
          <img src="../../assets/img/gerzx/待发货.png" alt="">
          <h5>海外直邮</h5>
        </div>
        <h5>¥166.06</h5>
      </div>
    </div>
    <hr>
    <div class="my-bottom">
      <div class="bottom">
        <img src="../../assets/img/img.../tuoyuan3.png" alt="">
        全选
        <span><a href="">删除</a></span>
      </div>

    </div>

    <!--弹窗-->
    <div class="window">
      <p>确定要清空所有足迹 ?</p>
      <div class="win_top">
        <span>取消</span>
        <span>确定</span>
      </div>
    </div>
  </div>
</template>
<script>
  export default {
    data() {
      return{
        isOpen: false,
      }
    },
    methods:{
      back(){
        this.$router.go(-1);
      }
    }
  }
</script>
<style scoped>
  .wripper {
    background: #fff;
    margin-top: -0.1rem;
    padding-top: 0.1rem;
    width: 100%;
    height: 3rem;
    background-color: #e53e42;
  }
  .top{
    position: relative;
    width: 100%;
    height: 3rem;
    background-color: #e53e42;
  }
  .left{
    width:0.5rem;
  }
  .wenzi{
    font-family: MicrosoftYaHei;
    font-size: 0.7rem;
    font-weight: normal;
    font-stretch: normal;
    line-height: 2.25rem;
    letter-spacing: 0.04rem;
    color: white;
    position: absolute;
    top: 1rem;
    left: 6rem;
  }
  img{
    width: 1.6rem;
  }
  .left {
    position: absolute;
    top: 1.5rem;
    left: 0.7rem;
  }
  /*清空|编辑*/

  .bian{
    font-size:0.7rem;
    float: right;
    margin-top: 1.6rem;
    color: white;
    font-weight: 100;
  }
 /*第一部分内容*/
  .content{
    overflow: hidden;
  }
  .content img{
    float: left;
    margin-top: 1rem;
    margin-left: 1rem;
    width: 0.9rem;
  }
  .content_right{
    margin-top: 1rem;
    margin-left: 2rem;
    float: left;
    font-size:0.7rem;
  }
  /*日期*/
  .date{
    font-size:0.7rem;
    margin-top: 0.9rem;
    border-bottom: 1px solid #cccccc;
    border-top: 1px solid #cccccc;
  }
  /*底部*/
  .bottom{
    font-size:0.7rem;
    padding-left: 0.5rem;
    border: 0px solid red;
    margin-top: 14.5rem;
    border-top:1px solid #ffffff;
  }
  .bottom img{
    width: 0.8rem;
  }
  .bottom span{
    margin-left: 10rem;
    background: #e53e42;
    border-radius: 0.2rem;
  }
  .bottom span a{
    color: white;

  }
  /*弹窗*/
  .window{
    width:9rem;
    height: 4.5rem;
    border: 1px solid grey;
    background: gainsboro;
    /*text-align: center;*/
    font-size:0.7rem;
    margin: 0 auto;
  }
  .window p{
    margin-top: 0.8rem;
    margin-bottom: 1rem;
    text-align: center;
  }
  .win_top{
    padding-right: 1.9rem;
  }
  .win_top span{
    display: inline-block;
    padding-left: 1.9rem;

  }

</style>
